From 2e3aef38e18c06e0662bf5a63be3d47003361848 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Wed, 23 Apr 2008 08:56:30 +0000 Subject: [PATCH] (x_y_to_hpos_vpos, fast_find_position) [HAVE_CARBON]: Make functions non-static. --- src/xdisp.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/xdisp.c b/src/xdisp.c index f20aaedd2f7..897dd440f15 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -1700,7 +1700,10 @@ glyph_to_pixel_coords (w, hpos, vpos, frame_x, frame_y) text, or we can't tell because W's current matrix is not up to date. */ -static struct glyph * +#ifndef HAVE_CARBON +static +#endif +struct glyph * x_y_to_hpos_vpos (w, x, y, hpos, vpos, dx, dy, area) struct window *w; int x, y; @@ -22079,7 +22082,10 @@ cursor_in_mouse_face_p (w) in 20.x as well, and I think it's too risky to install so near the release of 21.1. 2001-09-25 gerd. */ -static int +#ifndef HAVE_CARBON +static +#endif +int fast_find_position (w, charpos, hpos, vpos, x, y, stop) struct window *w; int charpos; -- 2.30.2